home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / w3 / descrip.mms < prev    next >
Encoding:
Text File  |  1995-06-13  |  2.5 KB  |  92 lines

  1. # This file kindly written by Richard Levitte - GNU on VMS hacker
  2. #                                               <levitte@vms.stacken.kth.se>
  3. #
  4. # what emacs is called on your system
  5. EMACS = emacs
  6.  
  7. # How to make a directory
  8. # need a -p if you want to make the parents!
  9. MKDIR = create/dir
  10.  
  11. # where the Info file should go
  12. INFODIR = gnu_root:[info]
  13.  
  14. # where the w3 lisp files should go
  15. LISPDIR = gnu_root:[lib.emacs.site-lisp]
  16.  
  17. # Change this to be where your .emacs file is stored
  18. DOTEMACS      = gnu_root:[lib.emacs.site-lisp]default.el
  19.  
  20. # Change this to be how to convert texinfo files into info files
  21. # examples:
  22. #    $(EMACS) -batch -q -f batch-texinfo-format
  23. #    makeinfo
  24. MAKEINFO      = makeinfo
  25.  
  26. ############## no user servicable parts beyond this point ###################
  27. # Have to preload a few things to get a nice clean compile
  28.  
  29. DEPS = -l sys$disk:[]vmsloadup.el
  30.  
  31. # compile with noninteractive and relatively clean environment
  32. #BATCHFLAGS = -batch -q -no-site-file
  33. BATCHFLAGS = -batch
  34.  
  35. # files that contain variables and macros that everything else depends on
  36. CORE = docomp.el
  37.  
  38. OBJECTS = \
  39.     w3.elc,mm.elc,url.elc,w3-beta.elc,w3-draw.elc,w3-e19.elc,    \
  40.     w3-emacs.elc,w3-epoch.elc,w3-mac.elc,w3-mule.elc,w3-next.elc,     \
  41.     w3-parse.elc,w3-print.elc,w3-srch.elc,w3-vars.elc,        \
  42.     w3-xemac.elc,md5.elc,w3-style.elc,w3-about.elc,base64.elc,    \
  43.     ssl.elc w3-wemac.elc
  44.  
  45. SOURCES = \
  46.     w3.el,mm.el,url.el,w3-beta.el,w3-draw.el,w3-e19.el,w3-emacs.el,    \
  47.     w3-epoch.el,w3-mac.el,w3-mule.el,w3-next.el,w3-parse.el,    \
  48.     w3-print.el,w3-srch.el,w3-sysdp.el,w3-vars.el,            \
  49.     w3-xemac.el,md5.el,w3-style.el,w3-about.el,base64.el,ssl.el    \
  50.     w3-wemac.el
  51.  
  52. DISTFILES     = Makefile ChangeLog $(SOURCES) w3.txi docomp.el        \
  53.         W3.ad clean-cache
  54.  
  55. .SUFFIXES : .elc .el
  56. .el.elc :
  57.     $(EMACS) $(BATCHFLAGS) $(DEPS) -f batch-byte-compile $(MMS$SOURCE)
  58.  
  59. w3 :    vmsloadup.el docomp.el $(OBJECTS)
  60.     write sys$output "Build of w3 complete..."
  61.  
  62. #all :    w3.info w3 emacs
  63. all :    w3
  64.     @ !
  65.  
  66. install : all emacs
  67.     write sys$output "Installing in $(LISPDIR)"
  68.     if f$parse("$(LISPDIR)") .eqs. "" then $(MKDIR) $(LISPDIR)
  69.     copy/log $(SOURCES),$(OBJECTS),w3.elc $(LISPDIR)
  70.     - purge/log $(LISPDIR)
  71.     copy/log w3.info* $(INFODIR)
  72.     - purge/log $(INFODIR)
  73.  
  74. emacs :    
  75.     write sys$output "Adding w3 setup to $(DOTEMACS)"
  76.     $(EMACS) -batch -l docomp.el -f hack-dot-emacs $(DOTEMACS) \
  77.          $(LISPDIR)
  78.  
  79. clean :
  80.     ! rm -f $(OBJECTS)
  81.  
  82. w3.info :    w3.txi
  83.     @$(MAKEINFO) w3.txi
  84.  
  85. w3.dvi :    w3.txi
  86.     tex w3.txi
  87.     texindex w3.cp  w3.fn  w3.ky  w3.pg  w3.tp  w3.vr
  88.     tex w3.txi
  89.     rm -f     w3.cp  w3.fn  w3.ky  w3.pg  w3.tp  w3.vr     \
  90.         w3.cps w3.fns w3.kys w3.pgs w3.tps w3.vrs    \
  91.         w3.log w3.toc w3.aux
  92.